<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>热点新闻</title>
    <link rel="shortcut icon" href="favicon.png" type="image/x-icon">
    <link rel="stylesheet" href="index.css">
    <link rel="manifest" href="manifest.json">
    <script>
        (function(win, doc) {
            var docEl = doc.documentElement;
            var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize';
            recalc = function () {
                docEl.style.fontSize = (100 * docEl.clientWidth / 750) + 'px';
            }
            if (!doc.addEventListener) return;
            win.addEventListener(resizeEvt, recalc, false);
            recalc();
        }(window, document))
    </script>
</head>
<body>
    <div id="app" class="app"></div>
</body>
    <script>
        if (navigator.serviceWorker) {
            navigator.serviceWorker.register('./sw.js').then((registration) => {
                console.log('Registered events is scope', registration.scope);
            })
        }
    </script>
    <script src="js/jquery.min.js"></script>
    <script src="js/index.js"></script>
</html>